package com.cx.service.impl;

import com.cx.dto.HotelFacilitiy;
import com.cx.mapper.HotelFacilitiesMapper;
import com.cx.service.HotelFacilitiesMapperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import static com.cx.tool.Tools.t1;

@Service
public class HotelFacilitiesMapperServiceImpl implements HotelFacilitiesMapperService {
    @Autowired
    HotelFacilitiesMapper hotelFacilitiesMapper;
    @Override
    public List<HotelFacilitiy> findHotelFacilityByHotelName(String hotelName) {
        Map<String ,String> faclity = new HashMap<>();
        List<HotelFacilitiy> hotelFacilitiys =  hotelFacilitiesMapper.findHotelFacilityByHotelName(hotelName);
        //在这一层对数据就行一定的处理
        return hotelFacilitiys;
    }
}
